package com.Service.Impl;

import com.Dao.daotest;
import com.Service.testService;
import com.enitity.test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TestServiceImpl implements testService {
    @Autowired
    private daotest dao;

    @Override
    public void save() {
        System.out.println("zzzz");
    }

    public test dd() {
        return dao.getById(2);
    }

}
